home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d8 / zc1750d.arc / ZCOMMDOC.AD < prev    next >
Encoding:
Text File  |  1990-01-22  |  79.6 KB  |  1,771 lines

  1.  
  2.         Version 17.50 TurboDial 2.33            Universal Line Printer Edition
  3.         ZCOMM User Manual                                                   91
  4.  
  5.           nlmode Received newlines (linefeed) display as return/linefeed.
  6.  
  7.           bell=visual Instead of sounding on the speaker, bell characters
  8.                 cause flashing notes to appear on the screen.
  9.  
  10.           overstrike Overstruck characters are displayed in bold face or
  11.                 underline (reverse video on CGA) as appropriate.
  12.  
  13.           autowrap The 81st character prints on a new line with possible
  14.                 scrollup.
  15.  
  16.           rautowrap Allow a backspace from the lest margin to reverse wrap to
  17.                 the last character position on the previous line.
  18.  
  19.           8bit  Decode 8bit control characters and G1 character set.
  20.  
  21.           stat=off Disables ZCOMM's status line.
  22.  
  23.           warpdrive Provides higher display speed without scrolling flicker,
  24.                 but causes noise (snow/chromablizzard) with CGA display
  25.                 adapters.
  26.  
  27.           mapkb Allow escape codes from the remote or a file to active
  28.                 alternate keyboard mapping.  The keyboard mapping is defined
  29.                 with a series of mk commands, such as those contained in the
  30.                 std.mk (standard keyboard) or 101.mk (101 key extended
  31.                 keyboard) files.  Other XXX.mk files may be provided; the
  32.                 first few lines of these files indicate the keyboard
  33.                 configuration they set up.  ZCOMM comes initialized with the
  34.                 std.mk mapping, which requires NumLock to be on.
  35.  
  36.                 EXAMPLE: source std.mk Defines a VT100 keyboard mapping for
  37.                 standard PC and PC-AT keyboards.
  38.  
  39.                 The term function keyboard mapping enabled by the mapkb
  40.                 command may override some ZCOMM functions.
  41.           A display nlmode nobell=visual Turns on nlmode display mode and
  42.           turns off the visual bell.
  43.  
  44.  
  45.           EXAMPLE: display vt100 Enables VT100/VT102 emulation used by many
  46.           computer systems.
  47.  
  48.  
  49.         dump pathspec Dump the named files in a side by side hex/ASCII format,
  50.           similar to the CP/M users' group DUMP program.  The ending character
  51.           number is also displayed.  Zero length files are not displayed.
  52.  
  53.         echo[c|f] string Echo a line containing a single argument string in
  54.           reverse video.  Tabs should not be used with the echo command.  The
  55.           echoc command also echoes its argument to the capture file (if
  56.  
  57.  
  58.         (C) 1989 Omen Tech Inc                        Chapter 17 Main Commands
  59.  
  60.  
  61.         Version 17.50 TurboDial 2.33            Universal Line Printer Edition
  62.         ZCOMM User Manual                                                   92
  63.  
  64.           open), without reverse video.  The echof command echoes its argument
  65.           to the capture file only.
  66.  
  67.           EXAMPLE: echoc "File not Accepted" Outputs a line to the screen and
  68.           to the capture file.
  69.  
  70.  
  71.           EXAMPLE: echo "Dave, This conversation can serve no further
  72.           purpose." Displays a line on the screen only.
  73.  
  74.  
  75.           SEE ALSO: lput command, r numeric parameter, character escapes
  76.  
  77.         egrep[m] regular-expression pathspec ** Display lines in the specified
  78.           files matching regular-expression.  Regular Expressions are
  79.           discussed in Chapter 23.
  80.  
  81.           The egrepm command finds a line matching regular-expression in each
  82.           of the specified files, and then pages through the file beginning
  83.           with the matched line.  At the end of each screen, ZCOMM accepts the
  84.           same subcommands used with the findm command.
  85.  
  86.           EXAMPLE: egrep "^Subject:" *.* Displays all lines that begin with
  87.           "Subject:".
  88.  
  89.  
  90.           SEE ALSO: findmore command
  91.  
  92.           The egrep implementation does not strip the trailing CR/LF from
  93.           lines read from the disk.  This affects use of the $ regular
  94.           expression magic character.  When using the $ magic character, the
  95.           CR/LF at the end of normal lines must be represented as "..$".
  96.  
  97.         egrepq regular-expression pathspec ** Silently searches the specified
  98.           files for the first line matching regular-expression.  Upon a
  99.           successful search, the contents of this line are stored in the z0
  100.           string variable and the ?  numeric parameter is incremented.  The
  101.           egrepq command is useful for fetching password information from a
  102.           disk file.
  103.  
  104.           SEE ALSO: obey command, findq command
  105.  
  106.         else Execute the command(s) on the rest of the line if the last if
  107.           test performed on the current script level was false.
  108.           N.B.: While else statements in programming languages are connected
  109.           to a particular if statement according to syntax, the connection in
  110.           ZCOMM is to the last if statement executed on the level, regardless
  111.           of goto's.
  112.  
  113.         ENAble {-modes} Enable mode(s) affecting the term function.  Chapter
  114.           18 describes modes affecting the term function.
  115.  
  116.  
  117.         (C) 1989 Omen Tech Inc                        Chapter 17 Main Commands
  118.  
  119.  
  120.         Version 17.50 TurboDial 2.33            Universal Line Printer Edition
  121.         ZCOMM User Manual                                                   93
  122.  
  123.           EXAMPLE: ena -h Enables half-duplex (local echo) Half-duplex mode
  124.           causes the term function to display keyboarded characters.
  125.  
  126.  
  127.         estimate length [speed] Use the specified length and optional
  128.           specified effective speed when displaying information for the next
  129.           receive file.  A length of 0 bypasses the length substitution.  Once
  130.           a speed (in effective bits per second) is given, it is used for all
  131.           locally displayed transmission time calculations until the next
  132.           speed or port command.
  133.  
  134.           EXAMPLE: estimate z2 Uses the file length stored in string variable
  135.           z2 in calculating the transmission time estimate for the next
  136.           received file.
  137.  
  138.  
  139.           EXAMPLE: speed 19200; estimate 0 2400 Use an effective transmission
  140.           speed of 2400 for transmission time estimates instead of the 19200
  141.           bps interface speed.
  142.  
  143.  
  144.         EXPand sourcefile pathspec ** For each pathname in pathspec, execute
  145.           the commands in sourcefile with the string parameter item set to the
  146.           current pathname.  The commands in sourcefile must not themselves
  147.           contain wildcards (* or ?) or directory pathnames.  If no files
  148.           match pathspec, sourcefile is not executed.  If the script executed
  149.           has a READ ONLY attribute, ZCOMM is unrestricted during execution of
  150.           the script.
  151.  
  152.           EXAMPLE: expand plxupl 001* Executes the script plxupl once for each
  153.           file matching the wild card specification 001*.
  154.  
  155.  
  156.           EXAMPLE: expand a *.arc where the file a contains:
  157.                           obey "!pkxarc -v %item >> arclist"
  158.           lists the contents of all .arc files to arclist.
  159.  
  160.  
  161.           Chapter 99 explains the use of this command in more detail.
  162.  
  163.         f [-modes] file The f (think of "file") command initiates transmission
  164.           of file with the term function.  One or more term function modes
  165.           (described in Chapter 18) may be enabled with the optional modes
  166.           flag.
  167.  
  168.           If q (TWX) mode is enabled, transmission pauses until the called
  169.           system's answerback restarts it with an XON, or until g mode is set.
  170.           Otherwise, any XOFF induced transmission pause is reset.
  171.  
  172.           Once the file has been opened with the f command, a pattern match or
  173.           keyboarding F1 or ALT-X will exit the term function with file
  174.  
  175.  
  176.         (C) 1989 Omen Tech Inc                        Chapter 17 Main Commands
  177.  
  178.  
  179.         Version 17.50 TurboDial 2.33            Universal Line Printer Edition
  180.         ZCOMM User Manual                                                   94
  181.  
  182.           incompletely transmitted.  The rest of the file may be transmitted
  183.           by the t, F2, or wait commands.
  184.  
  185.           EXAMPLE: f -px message Uploads message paced by the p mode, which
  186.           sends a carriage return and pauses at the end of each transmitted
  187.           line until the remote responds with the prompt character (default
  188.           line feed).  The x mode makes the term function return to the script
  189.           after the file has been transmitted.
  190.  
  191.  
  192.           EXAMPLE: set eolstr "\r."; pp1000; pg58; f -p file Is useful for
  193.           uploading a prepared message to a CompuServe bulletin boards using
  194.           the "SIG" editor (not FILGE).  The eolstr setting sends a carriage
  195.           return and period after each line to prevent the CompuServe software
  196.           from reformatting the message.  Pp10000 Sets the pause timeout to a
  197.           long time.  Pg58 Sets the prompt character to ":".  f -p file
  198.           Transmits the file.
  199.  
  200.  
  201.           SEE ALSO: b, g, p, r, n, t, w, x, X modes, eolstr string parameter,
  202.           t and wait commands
  203.  
  204.         fail Terminate the current expand command, otherwise return from the
  205.           current script level with failure status.
  206.  
  207.           If called directly by another level of script, that level is
  208.           terminated.
  209.  
  210.           The fail command also causes the term function to exit, to allow a
  211.           function key to be programmed with a macro that exits the term
  212.           function.
  213.  
  214.           If called implicitly by a number presented for dialing, fail
  215.           terminates the current dialing attempt.  If no retries are left, the
  216.           call is abandoned.
  217.  
  218.         fg Indicates ZCOMM is running in the foreground with a user at the
  219.           keyboard.
  220.  
  221.           SEE ALSO: bg command, df test condition
  222.  
  223.         fget outfile * Gets 8 bit raw data from the modem to outfile without
  224.           any protocol.  No data is displayed on the screen.  Keyboarding F1
  225.           terminates recording; any other keyboarded character is sent to the
  226.           remote.  Iff the g numeric parameter is set to to some value other
  227.           than its default of 10 (line feed), the fget command terminates upon
  228.           reading and storing a character matching the g numeric parameter.
  229.           The fget command also terminates recording on loss of carrier detect
  230.           signal.
  231.  
  232.           This command can be used when the flow of data from the remote
  233.  
  234.  
  235.         (C) 1989 Omen Tech Inc                        Chapter 17 Main Commands
  236.  
  237.  
  238.         Version 17.50 TurboDial 2.33            Universal Line Printer Edition
  239.         ZCOMM User Manual                                                   95
  240.  
  241.           cannot be regulated.  The maximum rate attainable without loss of
  242.           data is limited by the maximum interrupt latency of the operating
  243.           system and active device drivers.  The time required to write a 512
  244.           character buffer to disk may also limit the maximum average data
  245.           rate.  Each 512 character block must be written before the modem
  246.           interrupt input buffer overflows with new data.  If the startup time
  247.           for a floppy disk is excessive, better results will be obtained
  248.           writing to a hard disk or ramdisk[9] if a suitable device is
  249.           available.  Tests with an IBM Personal Computer, DOS 2.1, and a
  250.           Maynard Electronics hard disk suggest that no characters are lost at
  251.           9600 baud.  (Your results will vary depending on your configuration
  252.           and programming habits.  California estimates lower.)
  253.  
  254.           EXAMPLE: fget rawdata
  255.  
  256.  
  257.         find string pathspec Find and display lines containing matches to
  258.           string in the specified files.  Lower case characters in string
  259.           match either case; upper case characters in string match upper case
  260.           characters only.  If string contains spaces, tabs, or semicolon, it
  261.           must be enclosed by double quote characters.  ZCOMM C style escapes
  262.           may be used to represent control characters and string parameters to
  263.           be searched for.  Assuming normal DOS files (with CR/LF at the end
  264.           of each line), a \n at the beginning of string forces a match to the
  265.           beginning of a line.  A \r at the end of string (\n if the file(s)
  266.           have no returns in them) forces a match at the end of the line.
  267.  
  268.           The file name being searched and its length are displayed in the
  269.           status line.  For each line that contains a match to string, the
  270.           file name (if more than one file), line number, and the text of the
  271.           line are displayed.
  272.  
  273.           EXAMPLE: find count *.c Finds all occurrences of count or COUNT in
  274.           the named files.
  275.  
  276.  
  277.           SEE ALSO: egrep command
  278.  
  279.         FINDMore string pathspec Findmore finds a line matching string in each
  280.           of the specified files, and then pages through the file beginning
  281.           with the matched line.  Otherwise, it is similar to the find
  282.           command.  When the screen is filled up, the prompt More?  appears.
  283.           Typing space displays another screenfull.  Typing n skips to the
  284.           next instance of string that has not yet been displayed.  Typing ^Q
  285.           or ^S displays one more character from the file.  Typing ^X skips to
  286.  
  287.  
  288.         __________
  289.  
  290.          9. See comments on Extended Memory ramdisks in Chapter 26.
  291.  
  292.  
  293.  
  294.         (C) 1989 Omen Tech Inc                        Chapter 17 Main Commands
  295.  
  296.  
  297.         Version 17.50 TurboDial 2.33            Universal Line Printer Edition
  298.         ZCOMM User Manual                                                   96
  299.  
  300.           the next file.
  301.  
  302.           SEE ALSO: egrepm, page commands
  303.  
  304.         findq string pathspec Silently searches the specified files for the
  305.           first line matching string.  The processing of string is identical
  306.           to the find command described above.  Upon a successful search, the
  307.           contents of this line are stored in the z0 string variable and the ?
  308.           numeric parameter is incremented.  The findq command is useful for
  309.           fetching password information from a disk file.
  310.  
  311.           SEE ALSO: egrepq command
  312.  
  313.         finish Terminates Kermit server operation on the remote system.
  314.  
  315.         fput file * Puts data from file to the remote at maximum speed without
  316.           any protocol.  After each 512 characters, the number of characters
  317.           transmitted is displayed in the status line, and the keyboard is
  318.           polled.  Any key will abort the transfer.  This is the fastest way
  319.           ZCOMM can transmit characters to the modem, with possible peak
  320.           speeds greater than 19kb.  This command is useful for testing RS232
  321.           peripherals at high peak rates such as 56 kilobaud.
  322.  
  323.           EXAMPLE: fput datafile
  324.  
  325.  
  326.         fpute file * Echoplex transmit a file to the remote, waiting for the
  327.           correct echo to each character transmitted (for Throttle/10
  328.           seconds).  The echoed character is sent to the CRT screen.  If fpute
  329.           receives a space as an echo to a tab, fpute waits for the spaces to
  330.           stop echoing for at least 100 milliseconds before resuming
  331.           transmission.  Transfer speed thus suffers when tabs are present in
  332.           the transmitted file unless the remote can be set to echo tabs as
  333.           tab characters instead of expanding them to spaces.  Throughput is
  334.           less than 1/3 of normal because of the echo delay.
  335.  
  336.           Fpute counts each time the correct character is not echoed as an
  337.           error.
  338.  
  339.           With n mode, fpute transmits only a linefeed at the end of each
  340.           line.  With r mode, fpute transmits only a carriage return at the
  341.           end of each line.  Most applications would use one of these modes.
  342.  
  343.           CPMEOF (Ctrl-Z) terminates the file transmission unless b mode is
  344.           set.
  345.  
  346.           Because fpute waits for the correct echo to each character sent,
  347.           fpute should be used for transmitting characters to programs that
  348.           echo exactly.
  349.  
  350.           Often it is easy to write a simple receive routine to synchronize
  351.  
  352.  
  353.         (C) 1989 Omen Tech Inc                        Chapter 17 Main Commands
  354.  
  355.  
  356.         Version 17.50 TurboDial 2.33            Universal Line Printer Edition
  357.         ZCOMM User Manual                                                   97
  358.  
  359.           with the sender by echoing each character received.  On some
  360.           microcomputer systems, the device "TTY:" does just that.  Fpute is
  361.           especially useful for "spoon feeding" files to the serial inputs of
  362.           microcomputers and minicomputers.
  363.  
  364.           SEE ALSO: f command
  365.  
  366.         get filespec Instructs a remote Kermit server to the transmit the
  367.           specified file(s), then receives them.  The form of filespec varies
  368.           with the remote system; it must be quoted if it contains any special
  369.           characters or spaces.  The get command only operates with a Kermit
  370.           server; use kermit rb to receive files from a regular Kermit
  371.           program.
  372.  
  373.         goback label Search the current script file for label: and execute
  374.           commands starting at that line.  The goback command begins the
  375.           search at the beginning of the file.  It is faster than the goto
  376.           command which begins the search at the current line.
  377.  
  378.           SEE ALSO: goto command
  379.  
  380.         gosub name[.path] Call a script as a subroutine.  The phone directory
  381.           is searched for name unless another file is specified with .path.
  382.           Gosub has the same action as the call command (q.v.), but does not
  383.           reset modes, disconnect the modem, or modify the remote parameter.
  384.  
  385.           EXAMPLE: gosub dosig Executes the dosig entry in the telephone
  386.           directory.
  387.  
  388.  
  389.           EXAMPLE: gosub .%lib/baud.t Executes the commands in c:/yam/baud.t
  390.           assuming the lib string parameter contains c:/yam.
  391.  
  392.  
  393.           SEE ALSO: call command
  394.  
  395.         goto label Search the current script file for label: and execute
  396.           commands starting at that line.  A label begins at the first column
  397.           and ends with a colon (:).  Iff label precedes the current script
  398.           line, the goback command will locate the target label more quickly.
  399.           The goto command is valid only within a script or telephone
  400.           directory entry.  Please refer to Chapter 99 for examples using the
  401.           pattern, if, goto, and source commands.
  402.  
  403.         grab svar Grab reads a line from the currently open transmit file into
  404.           the specified string parameter svar.  Unless b mode is on, all
  405.           characters starting with the first CR and/or LF are discarded.  Grab
  406.           inhibits transmission of the open file until g mode is explicitly
  407.           set by a command.
  408.  
  409.           On end of file the transmit file is closed and the string parameter
  410.  
  411.  
  412.         (C) 1989 Omen Tech Inc                        Chapter 17 Main Commands
  413.  
  414.  
  415.         Version 17.50 TurboDial 2.33            Universal Line Printer Edition
  416.         ZCOMM User Manual                                                   98
  417.  
  418.           is set empty.  End of file can be tested with the t test condition.
  419.  
  420.           SEE ALSO: putv command
  421.  
  422.         HAndshake {off|sw|on|cts|dsr|dcd|both|slow} Some modems and printers
  423.           cannot accept continuous full speed data.  These devices send
  424.           control characters (XOFF and XON) for flow control, or generate a
  425.           hardware flow control signal on the CTS, DSR, or DCD pin.  The
  426.           Handshake command controls the modem port hardware handshake
  427.           (default sw).[10]
  428.  
  429.           If hardware handshaking is selected, an ON to OFF transition on the
  430.           specified line pauses transmission, and an XON character will not
  431.           override the hardware restraint.
  432.  
  433.           After a timeout set by the S numeric parameter (default 60 seconds),
  434.           or if characters are in the keyboard input buffer, a warning message
  435.           is displayed, the restraint is released, and characters are sent.
  436.  
  437.           As a special case, handshake on obeys output flow control with the
  438.           CTS input signal, asserts input flow control with the RTS output
  439.           signal, and disables the transmission of XOFF characters when the
  440.           modem input buffer becomes nearly full.
  441.  
  442.           Some computers do not support concurrent disk and serial I/O at high
  443.           speeds.  The handshake slow command drops the RTS signal to the
  444.           modem during disk writes when receiving files with YMODEM-g or
  445.           ZMODEM.
  446.  
  447.           The command handshake both allows either CTS or XOFF to pause
  448.           output, in addition to asserting input flow control with the RTS
  449.           output.
  450.  
  451.           The handshake dcd command enables d mode (q.v.).  Subsequently,
  452.           selecting a different type of handshaking will disable d mode.
  453.  
  454.           The "handshake off" command disables all flow control except for the
  455.           term function.
  456.  
  457.           The handshake command releases flow control (allows data to flow if
  458.           it had been stopped by handshaking).
  459.  
  460.  
  461.  
  462.         __________
  463.  
  464.         10. ZCOMM automatically disables its software (XON/XOFF) flow control
  465.             when using XMODEM, YMODEM and similar protocols that require all
  466.             256 byte codes.  These protocols will not work if the modem is set
  467.             for software flow control.
  468.  
  469.  
  470.  
  471.         (C) 1989 Omen Tech Inc                        Chapter 17 Main Commands
  472.  
  473.  
  474.         Version 17.50 TurboDial 2.33            Universal Line Printer Edition
  475.         ZCOMM User Manual                                                   99
  476.  
  477.           Changing the communications port with the port or portx command
  478.           disables hardware handshaking.
  479.  
  480.           SEE ALSO: S numeric parameter
  481.  
  482.           EXAMPLE: handshake cts Turns on CTS handshaking.
  483.  
  484.  
  485.         help The help command uses the helpfile or xhelpfile string parameter
  486.           depending on whether ZCOMM is in host operation.  Normally, the help
  487.           command displays a command summary, pausing every 24 lines.
  488.  
  489.           If the string parameter begins with the character @, ZCOMM uses the
  490.           rest of the parameter as the initial command to access a pop-up help
  491.           program.  The contents of the f string parameter are added to this
  492.           command, separated by a space.  Thus, if helpfile contains "@yhp
  493.           /umanh.hlp", giving the help command from the main prompt executes
  494.           the DOS command "yhp /umanh.hlp main".
  495.  
  496.           If the called program leaves a file yamhelp.tmp containing script
  497.           commands in the current directory, ZCOMM executes this file with a
  498.           source command and then deletes it.
  499.  
  500.           SEE ALSO: f, helpfile, xhelpfile string parameters, source command
  501.  
  502.         history [histfile] Opens histfile for use as a dual 64 entry history
  503.           file for commands entered both at the ZCOMM command prompt and
  504.           online with the term function.  Histfile is a random access file
  505.           used as a pair of circular buffers to save commands for recall.
  506.           Only a file created by a previous history command may be used with
  507.           the history command.  If the specified histfile does not exist, it
  508.           is created.  Histfile stores commands with T or more characters
  509.           where T is the value of the T numeric parameter.
  510.  
  511.           If histfile is not specified with the history command, the current
  512.           history file is updated and closed.
  513.  
  514.           The history command may be given with a different file name whenever
  515.           desired to access useful commands saved from previous sessions with
  516.           a particular host or application.
  517.  
  518.           When history is enabled, the Up and Down function keys scroll
  519.           through previously entered commands.  Ctrl-P and Ctrl-N may be used
  520.           in place of Up and Down respectively.  An old command so selected
  521.           may be edited with editing keys and executed with the <ENTER> key.
  522.  
  523.           In the term function, the history accessed with the Up and Down keys
  524.           is displayed and edited in the status line. [11] A Ctrl-X clears the
  525.  
  526.  
  527.  
  528.  
  529.  
  530.         (C) 1989 Omen Tech Inc                        Chapter 17 Main Commands
  531.  
  532.  
  533.         Version 17.50 TurboDial 2.33            Universal Line Printer Edition
  534.         ZCOMM User Manual                                                  100
  535.  
  536.           recalled text and restores normal status line and keyboard
  537.           operation.
  538.  
  539.           EXAMPLE: history /tmp/favbbs.hist
  540.  
  541.  
  542.           SEE ALSO: r command, T numeric parameter
  543.           N.B.: Do not give the history command before you have entered any
  544.           secret passwords from the keyboard as these will be saved in the
  545.           history file.  The history command without an argument closes the
  546.           history file and disables command recall.  Alternatively, the T
  547.           numeric parameter may be set to a large value to inhibit storing of
  548.           passwords in histfile.
  549.  
  550.           Normally, histfile should be an absolute pathname to insure that the
  551.           same file will be used regardless of the directory from which ZCOMM
  552.           is called from.
  553.  
  554.           The history command is not available when Restricted.
  555.           N.B.: Do not attempt to delete an open file on DOS, especially the
  556.           history file.
  557.  
  558.         host The host command conditions ZCOMM to accept incoming calls
  559.           unattended.  Host operation is described in Chapter 99.  The EXIT
  560.           key F1 terminates Host Operation.
  561.           N.B.: The host command is normally given only by a script that sets
  562.           parameters to their appropriate values.  Use the "host" entry in the
  563.           distributed PHODIR.t file as a prototype for your application.
  564.  
  565.           SEE ALSO: remote command
  566.  
  567.         if condition command ... The if command provides powerful condition
  568.           testing for scripts.  If executes the command(s) on the rest of the
  569.           line if condition is true.  Otherwise, execution continues
  570.           immediately with the next script line.  Chapter 24 describes the
  571.           testable conditions.
  572.  
  573.           SEE ALSO: else, on commands
  574.  
  575.         ife condition cmd1 ...; cmd2 ... Execute cmd1 ...  if condition is
  576.           true; otherwise skip to the first semicolon in the rest of the line
  577.           and resume execution (unconditionally) with cmd2.  Iff a semicolon
  578.           is not present, execution resumes at the end of the line, useful
  579.           within the body of a while command.
  580.  
  581.  
  582.         ______________________________________________________________________
  583.  
  584.  
  585.         11. Unix/Xenix flavors only support Backspace editing in this mode.
  586.  
  587.  
  588.  
  589.         (C) 1989 Omen Tech Inc                        Chapter 17 Main Commands
  590.  
  591.  
  592.         Version 17.50 TurboDial 2.33            Universal Line Printer Edition
  593.         ZCOMM User Manual                                                  101
  594.  
  595.           EXAMPLE: set f5
  596.           @ife %s1 echo "s1 =%s1";  else echo "s1 not set"
  597.  
  598.           (Without the "else", the right half will always execute.)
  599.  
  600.  
  601.         kbdlock N * Controls acceptance of keyboarded characters by the term
  602.           function and during protocol file transfers.  If N is non zero, the
  603.           term function does not act upon key strokes.  If N is greater than
  604.           1, key strokes have no effect on protocol transfers.  The Ctrl-Break
  605.           key and the command prompt reset kbdlock to 0.  If N is 257, the
  606.           Ctrl-Break key does not reset Kbdlock.  Kbdlock does not affect the
  607.           k test condition or the accept command.  Characters typed while
  608.           kbdlock is on will become available at the next command prompt,
  609.           accept command, or when kbdlock is reset unless typeahead is purged
  610.           with the purgek command.
  611.  
  612.           SEE ALSO: purgek command, Ctrl-Break key
  613.  
  614.         kbdmon [file] captures keystrokes to file.  If file exists, it is
  615.           appended to.  Function keys are denoted by an 0xFF character
  616.           followed by the code returned by the BIOS.  The kbdmon command
  617.           without an argument closes the file.  This command is not available
  618.           when Restricted.
  619.  
  620.         kermit By itself, selects Kermit or Kermit related parameters for use
  621.           by the !!, p, rb, and sb commands.
  622.  
  623.         Kermit rb [-options] Kermit rb receives files using the Kermit file
  624.           transfer protocol.  Chapter 17 describes the available options.
  625.           File names are given by the sending program.  The Kermit programs
  626.           must have compatible parity settings as described in Chapter 11,
  627.           Kermit Protocol.
  628.  
  629.           Kermit rb receives files from a regular Kermit program; use the get
  630.           command to receive files from a Kermit server.
  631.  
  632.           EXAMPLE: kermit pi1;  kermit rb Downloads files from an IBM
  633.           mainframe.
  634.  
  635.  
  636.           ZCOMM's term function will sense the remote Kermit's parity setting
  637.           and download files without user intervention When the remote Kermit
  638.           starts sending, if K (Kermit autodownload) mode is enabled (the
  639.           default).
  640.  
  641.         Kermit sb [-options] pathspec Kermit sb sends the specified files to
  642.           either a regular Kermit program or a Kermit server.  Chapter 17
  643.           describes the available options.  The Kermit programs must have
  644.           compatible parity settings as described in Chapter 11, Kermit
  645.           Protocol.
  646.  
  647.  
  648.         (C) 1989 Omen Tech Inc                        Chapter 17 Main Commands
  649.  
  650.  
  651.         Version 17.50 TurboDial 2.33            Universal Line Printer Edition
  652.         ZCOMM User Manual                                                  102
  653.  
  654.           EXAMPLE: kermit pi1;  kermit sb file ...  Sends the specified files
  655.           to an IBM mainframe.
  656.  
  657.  
  658.         keys, ALT-K Keys displays the definitions the user has assigned to the
  659.           function keys.
  660.  
  661.         ki Clears the y0...y127 string parameters and causes circular buffer
  662.           writing operations to ignore data from the remote which has already
  663.           been displayed.  This data is still available to the review
  664.           function.
  665.  
  666.  
  667.           EXAMPLE: The script fragment
  668.  
  669.               pat 1c "///BEGIN///"   "@ki create -+ print.fil"
  670.               pat 2c "///END///"   "@close"
  671.               wait -f30000
  672.  
  673.           will capture the data that arrives between "///BEGIN///" and the end
  674.           of the string "///END///".  Other data from the remote will not be
  675.           captured to disk.  The long pattern match fail time (30000 seconds)
  676.           makes the the cycle repeat almost indefinitely.
  677.  
  678.  
  679.           SEE ALSO: W mode
  680.  
  681.         kill Erases (flushes) all data stored in the circular buffer and
  682.           restores the buffer pointers to their initial positions.
  683.  
  684.         kill [-signum] procnum Available on Unix and OS/2 flavors, this form
  685.           of the kill command supports interprocess communications.  If signum
  686.           is absent, the kill command checks for the existence of the
  687.           specified process, but does not send it a signal.  Success sets the
  688.           ?  numeric parameter to 0, otherwise -1.
  689.  
  690.           SEE ALSO: createx command, Unix kill(1)
  691.  
  692.         l, ll, ls, lx For Unix users, synonyms for the dir commands.
  693.  
  694.         learn lfile TurboLearn(TM) Script Writer records timing information
  695.           and term function keystrokes to lfile.  The TurboLearn program
  696.           tlearn.exe then generates a script using this data.  Normally,
  697.           learning is initiated after the connection has been established, but
  698.           before the first prompt is received from the remote.  This is best
  699.           accomplished with the F4 key, which activates the tlearn telephone
  700.           directory entry.
  701.  
  702.           Function keys, cursor keys, reassigned keys, and scripts[12] should
  703.  
  704.  
  705.  
  706.  
  707.         (C) 1989 Omen Tech Inc                        Chapter 17 Main Commands
  708.  
  709.  
  710.         Version 17.50 TurboDial 2.33            Universal Line Printer Edition
  711.         ZCOMM User Manual                                                  103
  712.  
  713.           not be used while learning.
  714.  
  715.           When accepting passwords and other sensitive information, systems
  716.           sometimes acknowledge each keyboard character with #, *, x, or X,
  717.           instead of the keyboarded character itself.  When this happens, do
  718.           not type characters faster than the remote responds to them.
  719.  
  720.           The resulting script should be examined for evidence of keyboarding
  721.           mistakes, line noise, and dependence on prompts that change each
  722.           time you access the system.
  723.  
  724.           The comments below apply when the tlearn script is not used.
  725.  
  726.           EXAMPLE: kill
  727.                           123-4567; learn lfile
  728.  
  729.           From the ZCOMM main command prompt, enter the desired phone number.
  730.           When ZCOMM connects, the learn command enters the term function with
  731.           learning (recording) turned on.
  732.  
  733.                           <keyboard the operations you wish recorded>
  734.  
  735.           Login to the bulletin board as usual.  If you make keyboarding
  736.           mistakes, you can edit the script file later.
  737.  
  738.                           ALT-C F1
  739.  
  740.           Terminate learning with ALT-C, and return to the main command prompt
  741.           with the F1 key.
  742.  
  743.                           !tlearn lfile >newscript
  744.  
  745.           From the main command prompt, execute the TurboLearn program tlearn
  746.           with a DOS Gateway.
  747.  
  748.  
  749.           After recording, the tlearn program reads lfile and generates a
  750.           series of pattern and put script commands to let ZCOMM search for
  751.           the prompts and respond with the proper keystrokes.  The resulting
  752.           script file newscript may be accessed with the source command.
  753.  
  754.           Alternatively, the last command above may be replaced with
  755.  
  756.                           !tlearn -d newdirname lfile >>phones.t
  757.  
  758.  
  759.  
  760.         ______________________________________________________________________
  761.  
  762.         12. Other than the dialing script
  763.  
  764.  
  765.  
  766.         (C) 1989 Omen Tech Inc                        Chapter 17 Main Commands
  767.  
  768.  
  769.         Version 17.50 TurboDial 2.33            Universal Line Printer Edition
  770.         ZCOMM User Manual                                                  104
  771.  
  772.           to add the new script to the end of your telephone directory.
  773.  
  774.           The -d dirname causes tlearn to prepend the given new directory
  775.           entry name newdirname and the telephone number to the resulting
  776.           script commands.  The redirection characters >> add the script
  777.           commands to the end of your telephone directory.
  778.  
  779.           You can also use the -d newdirname option to tlearn to prepare a new
  780.           directory entry in a separate file.  Then you can edit this file and
  781.           add it somewhere within your telephone directory.
  782.  
  783.         link * Link two serial ports.  The link command allows remote access
  784.           to a computer or other device connected to another port.  For
  785.           example, if port 1 is connected to an autoanswer modem and port 2 is
  786.           connected to a local timesharing machine, the link command would
  787.           allow dial-up callers access to the timesharing machine.  Chapter
  788.           15.5 describes the link command.
  789.  
  790.         list pathspec The list command uses standard DOS character output
  791.           routines and any installed CRT device driver instead of ZCOMM's own
  792.           CRT driver.  The printer can be enabled with ^P given to DOS (not
  793.           ZCOMM).  List the specified file(s).
  794.  
  795.           This command closes any open transmit file.  ZCOMM detects SQueezed
  796.           files and prints them in ASCII.* List pauses/resumes printing with
  797.           ^S.  Keyboarding ^C cancels, and ^X skips to the next file (it might
  798.           take a few whacks of the keyboard to get ZCOMM to hear it.) The list
  799.           command defaults to a type command when ZCOMM is in host operation.
  800.  
  801.           EXAMPLE: list *.cq
  802.  
  803.  
  804.           SEE ALSO: browse, type, page commands
  805.  
  806.         lput string Displays string on the console display.  String is
  807.           processed for character escapes.  Lput is useful for scripts sending
  808.           cursor control codes to the screen.  Control characters and escape
  809.           sequences used with the lput command are always decoded with ZCOMM's
  810.           default extended VT52/Z19 emulation, which also recognizes ANSI "ESC
  811.           [" sequences, regardless of which display emulation is selected.
  812.           Unlike the echo command, lput does not display in reverse video and
  813.           does not add a carriage return/linefeed to its argument.
  814.  
  815.           SEE ALSO: echo command
  816.  
  817.         lputp string Outputs string to the line printer.  String is processed
  818.           for character escapes.  Strings with embedded nulls (represented
  819.           with the \000 character escape) may be used.  The lput command
  820.           should not be used if the printer is jammed, out of paper, or off
  821.           line.  These conditions may be tested with the l test condition.
  822.           This command is not allowed when ZCOMM is Restricted.
  823.  
  824.  
  825.         (C) 1989 Omen Tech Inc                        Chapter 17 Main Commands
  826.  
  827.  
  828.         Version 17.50 TurboDial 2.33            Universal Line Printer Edition
  829.         ZCOMM User Manual                                                  105
  830.  
  831.           EXAMPLE: if l lputp "\E\017" If the printer is ready, ZCOMM sends
  832.           ESC SI to select compressed printing on an IBM 80 CPS printer.
  833.  
  834.  
  835.           SEE ALSO: l numeric parameter, l test condition, \dNNN (decimal)
  836.           character escapes
  837.  
  838.         menu Execute script commands from the file name stored in the string
  839.           parameter menu.
  840.  
  841.         message The message command allows a caller to keyboard a message
  842.           which will be appended to a file specified by the string parameter
  843.           messages.  The message command allows the caller to type in up to 64
  844.           lines of text.  A blank line terminates the message.  This command
  845.           is intended for short messages; long messages should be uploaded
  846.           with a file transfer protocol.  Keyboarding is controlled by the Z
  847.           numeric parameter, which sets the hot zone column after which a
  848.           keyboarded space character begins a new line.
  849.  
  850.         mk [scancode shiftstate class string] Assign term function keyboard
  851.           mapping.  Without an argument, mk resets and disables keyboard
  852.           mapping.  The mk command is described in Chapter 24.
  853.  
  854.           SEE ALSO: N numeric parameter, _ command
  855.  
  856.         more pathspec See page command.
  857.  
  858.         mput string The mput command transmits string to the remote at full
  859.           speed.  String is processed for character escapes.  Unlike the put
  860.           and putw commands, mput does not display characters coming from the
  861.           remote (they are held in the interrupt buffer).  Control and other
  862.           special characters may be entered with character escapes.  If a
  863.           carriage return should be sent, it must be explicitly coded with \r
  864.           at the end of the string.
  865.  
  866.           SEE ALSO: put, putw commands
  867.  
  868.         nolog * Suppress generation of the next log entry (of any kind).
  869.  
  870.           EXAMPLE: mysys           nolog speed 1200 123-4567 t
  871.           Suppresses the log entry that would otherwise be made if the calllog
  872.           string parameter is set.
  873.  
  874.  
  875.         nulls n When accessing ZCOMM in host operation, nulls sets the number
  876.           of nulls (default 0) sent after each linefeed to allow slow
  877.           terminals time to scroll.
  878.  
  879.           EXAMPLE: nulls 4
  880.  
  881.  
  882.  
  883.  
  884.         (C) 1989 Omen Tech Inc                        Chapter 17 Main Commands
  885.  
  886.  
  887.         Version 17.50 TurboDial 2.33            Universal Line Printer Edition
  888.         ZCOMM User Manual                                                  106
  889.  
  890.         o Terminates a data call by dropping DTR (Data Terminal Ready).  DOS
  891.           ZCOMM drops Clear To Send (CTS) as well as DTR if hardware flow
  892.           control was selected with the handshake command.  A bye or speed n
  893.           command must be given to reassert DTR before making or answering
  894.           another data call.[13] The o command does not release ownership of
  895.           the serial port.
  896.  
  897.           SEE ALSO: speed, bye, off, port commands
  898.  
  899.         obey string Sometimes one wishes to execute the contents of a string
  900.           parameter as a ZCOMM command.  Other times one needs to reference a
  901.           pathname stored in a string parameter in the context of a command
  902.           that does not itself perform string substitution on its argument(s).
  903.  
  904.           Obey executes string as a ZCOMM command.  Character escapes in
  905.           string are substituted before execution.
  906.  
  907.           EXAMPLE: obey ">>%s0" Redirects the output of utility commands to
  908.           the pathname stored in string parameter s0.
  909.  
  910.  
  911.           EXAMPLE: pat 19c "OBEY-LAST" "@obey %y2" Sets pattern 19 to execute
  912.           the previous line received from the remote when the string "OBEY-
  913.           LAST" is received.
  914.  
  915.           N.B.: The remainder of the line after the obey command will be
  916.           executed unless execution of string is terminated by a return or
  917.           fail command.  The construction obey "if xxx goto foo" May be used
  918.           only if no commands follow the obey command's string argument.
  919.           N.B.: Backslashes in file names used with the obey command must be
  920.           escaped.
  921.           N.B.: When the obey command is used to substitute file names, file
  922.           names containing separator or operator characters such as & may
  923.           change the syntax of the resulting command.  For instance, the
  924.           pathological but legal DOS filename foo&&999.bar would cause obey if
  925.           f%thisfile gosub dofile to expand to if ffoo&&999.bar gosub dofile
  926.           to parse as a test for a match to an illegal pattern 999.
  927.  
  928.         off Disable the modem by dropping DTR (Data Terminal Ready), [14]
  929.           release ownership of the serial port, and exit to the operating
  930.           system.  DOS ZCOMM drops Clear To Send (CTS) as well as DTR if
  931.           hardware flow control was selected with the handshake command.
  932.  
  933.  
  934.  
  935.         __________
  936.  
  937.         13. Most telephone directory entries include a speed command.
  938.  
  939.         14. The modem must be configured to use Data Terminal Ready (DTR).
  940.  
  941.  
  942.  
  943.         (C) 1989 Omen Tech Inc                        Chapter 17 Main Commands
  944.  
  945.  
  946.         Version 17.50 TurboDial 2.33            Universal Line Printer Edition
  947.         ZCOMM User Manual                                                  107
  948.  
  949.           Exit status is the value of the ?  numeric parameter.
  950.  
  951.           The next program must select the port and initialize it to reassert
  952.           DTR before making or answering another data call.
  953.  
  954.           SEE ALSO: bye, x, o, port commands
  955.  
  956.         on [condition rest-of-line] * Executes rest-of-line if condition is
  957.           true.  Condition is tested after each command line executes, unless
  958.           a return or fail command is executed, or when pattern is the last
  959.           command on the line.  An on command without predicate (on a line by
  960.           itself) cancels the on command active at that script level.
  961.  
  962.           EXAMPLE: on
  963.  
  964.           The term function may be accessed with the wait command and no
  965.           patterns active to force an exit on loss of carrier detect or
  966.           pattern search timeout.  Otherwise, ZCOMM could remain in term
  967.           function until a command is keyboarded.  Typical commands to use
  968.           with the on statement are goto, return, off, and abort.  Chapter 24
  969.           describes the testable conditions.
  970.  
  971.           One active on statement is available for each level of script.  The
  972.           on statement does not propagate to succeeding script levels.
  973.  
  974.           When rest-of-line is executed, the on statement at that level is
  975.           cancelled.  An on command cancels any previous on command at that
  976.           script level.
  977.  
  978.           EXAMPLE: on !c goto fooend Branches to fooend if the carrier drops
  979.           out.
  980.  
  981.           SEE ALSO: wait, if commands
  982.           NB: No other commands may be on the line after the on command except
  983.           for its predicate.
  984.  
  985.         open [-modes] file Opens file for transmission with the term function
  986.           with modes.  The open command should be used when you don't want to
  987.           enter the term function immediately, or are already in it.  In other
  988.           situations, it may be necessary to open the file before dialing to
  989.           allow transmission immediately after connection, without the delay
  990.           of opening the file from a floppy disk.
  991.  
  992.           SEE ALSO: seek, read, close commands
  993.  
  994.         page pathspec Type the file(s) specified in pathspec a screenfull at a
  995.           time.  When the screen is filled up, the More?  prompt appears.
  996.           Typing space displays another screenfull.  Typing ^X skips to the
  997.           next file.  Typing ^K or ^C terminates the command.  This command
  998.           closes any open transmit file.  ZCOMM automatically detects SQueezed
  999.           files and prints them in ASCII.*
  1000.  
  1001.  
  1002.         (C) 1989 Omen Tech Inc                        Chapter 17 Main Commands
  1003.  
  1004.  
  1005.         Version 17.50 TurboDial 2.33            Universal Line Printer Edition
  1006.         ZCOMM User Manual                                                  108
  1007.  
  1008.           EXAMPLE: page *.doc
  1009.  
  1010.  
  1011.           SEE ALSO: browse, type, list, findmore commands
  1012.  
  1013.         PATtern [n[cilpv$] string [action]] (n = 0...24) The pattern command
  1014.           allows ZCOMM to search for up to 25 different responses from a
  1015.           remote computer, and take action based on which of those responses
  1016.           (or none) was "seen".  A pattern match can execute specified script
  1017.           command(s) "on the fly" (c modifier) or return control to the
  1018.           calling script with an indication of which pattern was matched.
  1019.  
  1020.           The pattern command causes the next t, f, or wait command (term
  1021.           function) to search for string in the data received from the
  1022.           remote/modem.  String must be entered exactly as it will be received
  1023.           from the modem, in the same case and with the same embedded spaces
  1024.           or tabs.  Control characters must be represented with ZCOMM
  1025.           character escapes.  The metacharacter \256 matches any single
  1026.           character.  ZCOMM %string substitutions may be used to define search
  1027.           patterns.  If the % character is to be searched for, it must be
  1028.           represented as \045.
  1029.  
  1030.           Parity, NULL, RUBOUT, XON, and XOFF characters received from the
  1031.           remote do not affect pattern searches.  If Kermit AutoDownload (K
  1032.           mode) is set, strings with SOH (Ctrl-A) cannot be matched.  If
  1033.           ZMODEM AutoDownload (Z mode) is set, strings with CAN (Ctrl-Z)
  1034.           cannot be matched.  If B protocol (c mode) is set, strings with DLE
  1035.           or ENQ cannot be matched.
  1036.  
  1037.           Strings of up to 33 characters each may be specified for
  1038.           simultaneous search by the term function.  The search patterns are
  1039.           "global" among all script levels; a pattern command in a subroutine
  1040.           affects the patterns set by the calling script(s) and vice versa.
  1041.  
  1042.           The term function returns when one of the patterns is matched or
  1043.           when the term function times out with f seconds with no characters
  1044.           from the remote, as determined by the f numeric parameter, or when
  1045.           carrier detect is lost.  The first wait, t or f command given after
  1046.           the pattern command begins the search.
  1047.  
  1048.           When one of the patterns is matched, that pattern is marked as found
  1049.           and its corresponding action is executed (if present).  ZCOMM will
  1050.           remain in the term function until there is a pause in data
  1051.           transmission from the remote[15] unless the i or c modifier is used.
  1052.  
  1053.  
  1054.  
  1055.         __________
  1056.  
  1057.         15. Pause length is specified by the q numeric parameter.
  1058.  
  1059.  
  1060.  
  1061.         (C) 1989 Omen Tech Inc                        Chapter 17 Main Commands
  1062.  
  1063.  
  1064.         Version 17.50 TurboDial 2.33            Universal Line Printer Edition
  1065.         ZCOMM User Manual                                                  109
  1066.  
  1067.           The following modifiers may be used.  The c, i, and l modifiers are
  1068.           mutually exclusive.
  1069.  
  1070.           c     The pattern is marked as found and action executed (if
  1071.                 present).  The term function then continues searching.
  1072.                 Matching this pattern does not cause a return from the term
  1073.                 function.  The condition for this pattern will test true, but
  1074.                 the n test condition is not affected.
  1075.  
  1076.           i (Immediate) The pattern is marked as found and action executed (if
  1077.                 present).  The term function then returns immediately.
  1078.  
  1079.           l (line end delay) The pattern is marked as found and action
  1080.                 executed (if present).  The term function then returns after
  1081.                 the first LF character following the matched string.
  1082.  
  1083.           p (permanent) A pattern with the p modifier is not reset by the
  1084.                 pattern command without arguments.  Patterns with the p
  1085.                 modifier may be used to search for disconnect messages within
  1086.                 an entire script.  Permanent patterns are reset by the call
  1087.                 command, each item in the outcall queue, and an explicit
  1088.                 pattern command referencing that particular pattern number.
  1089.  
  1090.                 EXAMPLE: pattern 20 "\nCLR" "@off" Disconnects and exits ZCOMM
  1091.                 if the phrase CLR is seen immediately following an LF.
  1092.  
  1093.  
  1094.           v (verbose) The v modifier displays a message when the pattern is
  1095.                 matched.  This is often useful when debugging scripts when the
  1096.                 large amount of output generated by large v numeric parameter
  1097.                 values is not desired.
  1098.  
  1099.                 EXAMPLE: pat 5v "Finished Already."
  1100.  
  1101.  
  1102.           $     Sometimes the only way to recognize a prompt (as distinct from
  1103.                 the same string embedded in other data) is to require the
  1104.                 prompt to be the last thing sent by the remote, before a
  1105.                 pause.  The $ modifier allows string to be matched only if the
  1106.                 remote pauses for 1 to 2 seconds after transmitting the last
  1107.                 character in string.
  1108.  
  1109.           The optional action is a string to be sent to the remote, or
  1110.           executed as a command if it begins with "@".  Action is executed the
  1111.           instant the last character of the pattern is matched, even if the i
  1112.           modifier is not used.  Action must not use the goto, f, t, or wait
  1113.           commands.
  1114.  
  1115.           The pattern command without any arguments clears the patterns that
  1116.           don't have the p modifier, and terminates pattern searching.  The
  1117.           other events that terminate pattern search are a match to a pattern
  1118.  
  1119.  
  1120.         (C) 1989 Omen Tech Inc                        Chapter 17 Main Commands
  1121.  
  1122.  
  1123.         Version 17.50 TurboDial 2.33            Universal Line Printer Edition
  1124.         ZCOMM User Manual                                                  110
  1125.  
  1126.           that does not have the c modifier, a pattern search timeout, the
  1127.           call, abort, or quit commands, a major error, or the NUKE key.
  1128.  
  1129.           EXAMPLE: pat 0c$ "" "\21"
  1130.           Sends one XON character every time there is a pause in output from
  1131.           the remote.  This recovers from situations where the remote computer
  1132.           stops because it receiveed a spurious XOFF character, or lost an XON
  1133.           character.
  1134.  
  1135.  
  1136.           In the pattern n string command, if string contains a repeating
  1137.           sequence such as foo in foofoobar, the search may be unsuccessful if
  1138.           part of the phrase is received immediately prior to the desired
  1139.           string (foofoofoobar).
  1140.  
  1141.         port n Change the modem port to COMn.  On DOS, the legal values for n
  1142.           are 1...18.
  1143.  
  1144.           Selecting a new port normally selects software handshaking
  1145.           ("handshake sw").  The PCDOS flavor enables both hardware and
  1146.           software handshaking ("handshake both") iff the port speed exceeds
  1147.           2400 bps and the Clear To Send (CTS) signal is active at the time
  1148.           the port command is given.
  1149.  
  1150.           Standard Ports (PCDOS)_:
  1151.           COM1 3F8 IRQ4 (Standard IBM)
  1152.           COM2 2F8 IRQ3 (Standard IBM)
  1153.  
  1154.           NON STANDARD PORTS:
  1155.           COM3 3E8 IRQ4 (Alternate)
  1156.           COM4 2E8 IRQ3 (Alternate)
  1157.           COM5 2B8 IRQ3 (Columbia)
  1158.           COM6 2B8 IRQ2 (Alternate for IBM)
  1159.  
  1160.           COM7 3E8 IRQ5 (Alternate "COM3")
  1161.           COM8 2E8 IRQ5 (Alternate "COM4")
  1162.  
  1163.           COM9 Uses the port address and interrupt vector previously set by
  1164.           the portx command.
  1165.           COM11-COM18 IBM PS/2 COM1-COM8 ports
  1166.  
  1167.           COM1 and COM2 are the standard serial ports defined by the IBM
  1168.           Technical Reference Manual.
  1169.  
  1170.           COM3 and COM4 are supported by many serial cards and modem boards.
  1171.           COM3 and COM1 share the same dedicated hardware interrupt line, and
  1172.           these ports may not be used at the same time.  Likewise, COM4 and
  1173.           COM2 may not be used at the same time.
  1174.  
  1175.           Columbia computers support COM5.
  1176.  
  1177.  
  1178.  
  1179.         (C) 1989 Omen Tech Inc                        Chapter 17 Main Commands
  1180.  
  1181.  
  1182.         Version 17.50 TurboDial 2.33            Universal Line Printer Edition
  1183.         ZCOMM User Manual                                                  111
  1184.  
  1185.           COM6 to COM8 are alternate configurations that may be accessed by
  1186.           cross jumpering between printer port decoders and serial port
  1187.           enables on some multifunction boards.
  1188.  
  1189.           COM7 and COM8 support alternative definitions for "COM3" and "COM4"
  1190.           respectively.
  1191.  
  1192.           COM11 to COM18 correspond to "COM1" to "COM8" on IBM PS/2 computers.
  1193.           Only one of COM12-COM18 may be used at a time unless using the
  1194.           special OS/2 comm driver for that board.
  1195.  
  1196.           Since ZCOMM uses the interrupt line on the selected port, no other
  1197.           program or device driver may use the same port address and/or
  1198.           interrupt vector concurrently.  Certain disk controllers and mice
  1199.           interfaces use IRQ2 and IRQ5.  Do not use IRQ2 on a PC-AT (the extra
  1200.           8259 is not reset).  IRQ5 is sometimes used by network cards and
  1201.           printer ports.  Do not select COM3 to COM18 unless you are familiar
  1202.           with the I/O addresses and interrupt vectors used in your machine.
  1203.           Ports sharing the same interrupt vector (IRQ number) cannot be used
  1204.           concurrently.
  1205.  
  1206.           The port command sets the d mode (which suppress the No Carrier
  1207.           Detect message).
  1208.  
  1209.           EXAMPLE: port 2
  1210.  
  1211.  
  1212.           DOS ZCOMM begins with COM1 unless overidden by the DPORT environment
  1213.           variable.
  1214.  
  1215.           EXAMPLE: C>set DPORT=2
  1216.  
  1217.  
  1218.           On Unix, the argument of the port command is a character special
  1219.           file in the /dev directory.  Unix and Xenix flavors have no default
  1220.           port.  If the DPORT environment variable is set, that port will be
  1221.           selected when ZCOMM initializes.  Otherwise, a port is selected by
  1222.           the startup and/or dialing script.  Typical values are tty01
  1223.           (386/ix) and tty2A (Xenix).
  1224.  
  1225.           EXAMPLE: DPORT=tty1A; export DPORT
  1226.  
  1227.  
  1228.           SEE ALSO: handshake command, dport string parameter
  1229.  
  1230.         portx hbase,irq * To support specialized multiport serial interfaces,
  1231.           the portx command selects a communications port with a specified
  1232.           hexadecimal base address hbase and Interrupt Request Line irq (3 <=
  1233.           irq <= 7).  The portx does not check its argument for validity.  The
  1234.           consequences of an invalid selection are quite undefined.  The
  1235.           specified base address and IRQ number are assigned to COM9, where
  1236.  
  1237.  
  1238.         (C) 1989 Omen Tech Inc                        Chapter 17 Main Commands
  1239.  
  1240.  
  1241.         Version 17.50 TurboDial 2.33            Universal Line Printer Edition
  1242.         ZCOMM User Manual                                                  112
  1243.  
  1244.           they may be used by the port command and the x numeric parameter.
  1245.           The status line and s command will indicate COM9.  This command not
  1246.           available on X.PC, Unix, Xenix, or OS/2.
  1247.  
  1248.           EXAMPLE: portx 3f8,4 Selects a comm port with a base address of 3f8,
  1249.           using IRQ4.
  1250.  
  1251.  
  1252.           SEE ALSO: intolink string parameter
  1253.  
  1254.         private The private command allows a caller to keyboard a message
  1255.           which will be appended to a file specified by the private string
  1256.           parameter.  The private command allows the caller to type in up to
  1257.           64 lines of text.  A blank line terminates the message.  This
  1258.           command is intended for short messages; long messages should be
  1259.           uploaded with a file transfer protocol.  Keyboarding is controlled
  1260.           by the Z numeric parameter, which sets the hot zone column after
  1261.           which a keyboarded space character begins a new line.
  1262.  
  1263.         purgek Purge any characters the user may have typed ahead.*
  1264.  
  1265.         purgel Purge any unprocessed characters received from the modem Line
  1266.           (remote).*
  1267.  
  1268.         put string The put command transmits string to the remote.  Use the
  1269.           put command for transmittting commands to a modem or a remote
  1270.           computer system.  String is processed for character escapes.
  1271.           Control and other special characters may be entered with character
  1272.           escapes described in Chapter 23.  If a carriage return should be
  1273.           sent, it must be explicitly coded with \r at the end of the string.
  1274.  
  1275.           EXAMPLE: put "myname\r" Sends myname followed by carriage return to
  1276.           the modem.
  1277.  
  1278.  
  1279.           A \336 (octal 336) character causes a pause in transmission
  1280.           (duration controlled by the p numeric parameter).  This pause allows
  1281.           one string to contain multiple commands.
  1282.  
  1283.           EXAMPLE: put "\336ATZ\r\336\336ATX1 M0 S0=1\r" Pauses, sends ATZ\r,
  1284.           pauses (twice because some modems take longer to reset!), and then
  1285.           sends ATX1 etc. to the modem.
  1286.  
  1287.  
  1288.           Transmission with put is controlled by the 7, 8, h, p, w, and t
  1289.           modes.
  1290.  
  1291.           SEE ALSO: putw, mput, putv commands
  1292.  
  1293.         putw string The putw command transmits string to the remote, and
  1294.           pauses for a period of time (determined by the q numeric parameter)
  1295.  
  1296.  
  1297.         (C) 1989 Omen Tech Inc                        Chapter 17 Main Commands
  1298.  
  1299.  
  1300.         Version 17.50 TurboDial 2.33            Universal Line Printer Edition
  1301.         ZCOMM User Manual                                                  113
  1302.  
  1303.           before returning from the term function to allow characters to echo.
  1304.           Other than that final pause, putw operates the same as the put
  1305.           command.
  1306.           N.B.: Putw should not be used when the next operation will be a
  1307.           pattern or wait command.  If the expected response starts before the
  1308.           putw command finishes, the following wait command will never get to
  1309.           "see" what it is waiting for.  In general, the putw command should
  1310.           only be used as a short-cut for sending a command when the response
  1311.           is known in advance and can be safely ignored.
  1312.  
  1313.           SEE ALSO: put, mput commands
  1314.  
  1315.         putv svar The putv command transmits svar to the remote without any
  1316.           translation of character escapes.  Putv does not append a carriage
  1317.           return or line feed to the transmitted string.
  1318.  
  1319.           EXAMPLE: putv s0; put "\r"
  1320.  
  1321.  
  1322.           SEE ALSO: put, mput commands
  1323.  
  1324.         pwd Print Working Directory displays the current directory pathname,
  1325.           and stores it in the pwd string parameter.
  1326.  
  1327.           EXAMPLE: pwd
  1328.  
  1329.  
  1330.           SEE ALSO: cd command
  1331.  
  1332.         pxN Set Numeric parameter x to value N.  If x and N are blank, display
  1333.           the numeric parameters which can be set by this command and their
  1334.           current values.  This command is not allowed if Restricted.  Numeric
  1335.           parameters are described in Chapter 21.
  1336.  
  1337.           EXAMPLE: ps8 Sets the status line attribute to 8 (grey), suitable
  1338.           for composite video displays.
  1339.  
  1340.  
  1341.           EXAMPLE: pv-1 Sets the v numeric parameter ("verbose") to -1,
  1342.           suppressing some routine messages.  More negative values suppress
  1343.           more routine messages.
  1344.  
  1345.  
  1346.           EXAMPLE: pd1 Sets the d numeric parameter to 1, causing files
  1347.           received with ZMODEM or full YMODEM protocol to be stored with the
  1348.           modification date transmitted with the file.
  1349.  
  1350.  
  1351.           EXAMPLE: pk3 Sets the k numeric parameter to 3, which kills pending
  1352.           output stored in the circulat buffer when ETX (Ctrl-C) (decimal 3)
  1353.           is keyboarded in the term function.
  1354.  
  1355.  
  1356.         (C) 1989 Omen Tech Inc                        Chapter 17 Main Commands
  1357.  
  1358.  
  1359.         Version 17.50 TurboDial 2.33            Universal Line Printer Edition
  1360.         ZCOMM User Manual                                                  114
  1361.  
  1362.         queue { add [string] | clear | delete [n] | list | run } Manipulate
  1363.           and execute a queue of commands for dialing numbers or other
  1364.           suitable functions.  The queue contains 20 slots numbered 0 to 19.
  1365.  
  1366.           queue clear clears all queue entries.
  1367.  
  1368.           queue add [string] adds string to the queue after processing for
  1369.                string substitutions.  The string is added to the first empty
  1370.                queue slot available.  If string is absent, it is taken from
  1371.                the next script line.  A typical string would be a command to
  1372.                call a system: call telegodzilla
  1373.  
  1374.                Script entries used with the circular dialing queue should end
  1375.                with a t command, which will enter the term function.  To stop
  1376.                the queue at that point, use the ALT-N (NUKE) key.  NUKE
  1377.  
  1378.           queue delete [n] Delete then nth queue entry, or the currently
  1379.                executing entry if n is not present.
  1380.  
  1381.           queue list lists the non empty queue entries.
  1382.  
  1383.           queue run begins execution of the queue entries.  The ALT-N (NUKE)
  1384.                key, a fatal errror or any keyboarded character present after
  1385.                the execution of the command in the entry terminates the queue
  1386.                run command.
  1387.           The queue commands are independant of the Outcall Queue available in
  1388.           Host Operation.
  1389.  
  1390.           EXAMPLE: The script fragment:
  1391.                           queue clear
  1392.                           while q set? s0 Q queue add "echo %s0"
  1393.                           queue list
  1394.  
  1395.           Sets each queue entry to echo its own queue number, then lists the
  1396.           queue entries.
  1397.  
  1398.  
  1399.           SEE ALSO: q and Q test conditions, Shift-F5 and Shift-F6 function
  1400.           keys
  1401.  
  1402.         quit * Causes an immediate return to the command prompt from any
  1403.           script level.  Quit may be used within a command string assigned to
  1404.           a function key where an unconditional return to the command prompt
  1405.           is desired, even if keyboarded from the term function.
  1406.  
  1407.         r [oldcmd] Search back through the history file of keyboarded lines
  1408.           for the first line that oldcmd is a prefix of, and execute it.  If
  1409.           oldcmd is absent, execute the last locall entered keyboarded line.
  1410.  
  1411.           EXAMPLE: history C:/tmp/junk.hst
  1412.                           del *.bak *.lst *.tmp *.foo
  1413.  
  1414.  
  1415.         (C) 1989 Omen Tech Inc                        Chapter 17 Main Commands
  1416.  
  1417.  
  1418.         Version 17.50 TurboDial 2.33            Universal Line Printer Edition
  1419.         ZCOMM User Manual                                                  115
  1420.  
  1421.                           cd bazdir
  1422.                           r d
  1423.                           del *.bak *.lst *.tmp *.foo (command echoes)
  1424.  
  1425.  
  1426.           SEE ALSO: history command
  1427.  
  1428.         r7 [-options] [dir] [file ...] Receives with options 1 or more files
  1429.           using MODEM7 batch protocol.  An optional directory dir may be
  1430.           specified.  If pathname(s) have been supplied to the r7 command and
  1431.           the sending program attempts to send more files than the number of
  1432.           names supplied to the r7 command, the transfer is aborted.  The
  1433.           command is provided for compatibility with traditional programs that
  1434.           do not support the superior YMODEM or ZMODEM protocols.
  1435.  
  1436.           EXAMPLE: r7 -c Receive file(s) with MODEM7 Batch and CRC-16 (-c).
  1437.  
  1438.  
  1439.           SEE ALSO: MODEM7 batch protocol, Chapter 11.
  1440.  
  1441.         rb [-options] Receives with options 1 or more files using YMODEM batch
  1442.           protocol.  The rb command also receives files sent with SEAlink
  1443.           protocol.  Chapter 17 describes the available options.  The pathname
  1444.           and length of each file are transmitted in batch mode.  If a file is
  1445.           received in error (retries exhausted, etc.), the batch transfer will
  1446.           terminate.  If Restricted, a file received in error will be unlinked
  1447.           (erased).
  1448.  
  1449.           EXAMPLE: rb -y Receive file(s) with YMODEM replacing old files, if
  1450.           any.
  1451.  
  1452.  
  1453.           EXAMPLE: rb -g Receive file(s) with YMODEM-g.
  1454.  
  1455.           Many programs claiming to support YMODEM actually use XMODEM with
  1456.           1024 byte blocks; use ZCOMM's sx -k, rx and rx -g XMODEM commands
  1457.           with these mutants.
  1458.  
  1459.           SEE ALSO: YMODEM protocol, Chapter 11.
  1460.  
  1461.         rb [-options] [dir] [file ...] Receives with options 1 or more files
  1462.           using YMODEM batch protocol.  An optional disk and/or directory dir
  1463.           may be specified.  The optional supplied pathnames file ...  are
  1464.           used in place of pathnames normally provided by the sending program.
  1465.           If the sending program attempts to send more files than the number
  1466.           of names supplied to the rb command, the transfer is aborted.
  1467.  
  1468.         rc [-options] file Receives with options a single file using the Ward
  1469.           Christensen XMODEM protocol, 128 or 1024 byte blocks, and CRC-16
  1470.           instead of an 8 bit checksum.  ZCOMM signals the sending program
  1471.           that CRC-16 is to be used.  After four errors while attempting to
  1472.  
  1473.  
  1474.         (C) 1989 Omen Tech Inc                        Chapter 17 Main Commands
  1475.  
  1476.  
  1477.         Version 17.50 TurboDial 2.33            Universal Line Printer Edition
  1478.         ZCOMM User Manual                                                  116
  1479.  
  1480.           receive the first sector, ZCOMM will cancel the CRC-16 option and
  1481.           reverts to checksum operation.
  1482.  
  1483.           The probability of an undetected transmission error is much less if
  1484.           CRC-16 is used in place of the default 8 bit arithmetic checksum.
  1485.           Omen Technology Inc Recommends use of the 16 bit CRC to maintain
  1486.           data integrity at professional levels.  Chapter 17 describes the
  1487.           available options to the rc command.  If Restricted, a file received
  1488.           in error will be deleted.
  1489.  
  1490.           EXAMPLE: rc foo.com
  1491.  
  1492.  
  1493.           SEE ALSO: XMODEM-CRC protocol, Chapter 11.
  1494.  
  1495.         read [file] Read file into the circular buffer.  Once in the buffer,
  1496.           it may be examined with the review command, searched for strings,
  1497.           and cut and pasted to other files.  If file does not fit into the
  1498.           buffer, the buffer may be cleared with the kill command (or review k
  1499.           subcommand) and subsequent read commands may be given to read more
  1500.           of it.  Review function commands are described in Chapter 20.
  1501.  
  1502.           EXAMPLE: read allsig.tmp<ENTER><Home>
  1503.  
  1504.  
  1505.           SEE ALSO: BROwse, seek commands
  1506.           CAUTION: Iff a read command has left a transmit file open, entering
  1507.           the term function will transmit the unread portion of the file.  To
  1508.           prevent this, close the file first with ALT-C or closetx.
  1509.  
  1510.         receive Receives file(s) from a Kermit program.  The other program
  1511.           must be commanded to send the desired files.
  1512.  
  1513.           SEE ALSO: get Kermit server access command
  1514.  
  1515.         remote Enter Host state with unrestricted privileges to allow the
  1516.           currently connected remote computer/terminal to issue commands.
  1517.           When activated by the remote command, Host state will reset when the
  1518.           modem carrier goes away.  This command is useful for transferring
  1519.           files between two machines with directly connected serial ports.
  1520.           Remote may be prefixed with restrict to limit privileges.*
  1521.  
  1522.           SEE ALSO: host command
  1523.  
  1524.         remote cwd dirspec [password] Instructs the remote Kermit server to
  1525.           change to the specified directory.  The form of dirspec varies with
  1526.           the remote system; it must be quoted if it contains special
  1527.           characters or spaces.  A password may be required by the remote
  1528.           Kermit server.
  1529.  
  1530.           SEE ALSO: Kermit Protocol, Chapter 11.
  1531.  
  1532.  
  1533.         (C) 1989 Omen Tech Inc                        Chapter 17 Main Commands
  1534.  
  1535.  
  1536.         Version 17.50 TurboDial 2.33            Universal Line Printer Edition
  1537.         ZCOMM User Manual                                                  117
  1538.  
  1539.         remote delete filespec Instructs the remote Kermit server to delete
  1540.           the specified file(s).  The form of filespec varies with the remote
  1541.           system; it must be quoted if it contains special characters or
  1542.           spaces.
  1543.  
  1544.         remote dir dirspec Instructs the remote Kermit server to display the
  1545.           specified directory on your screen.  The form of dirspec varies with
  1546.           the remote system; it must be quoted if it contains special
  1547.           characters or spaces.  The resulting information may be redirected
  1548.           to a file with the >outfile command.
  1549.  
  1550.         remote help Instructs the remote Kermit server to display help
  1551.           information on your screen.  The resulting information may be
  1552.           redirected to a file with the >outfile command.
  1553.  
  1554.         remote host host-command-string Instructs the remote Kermit server to
  1555.           perform the specified command and display its output on your screen.
  1556.           The form of host-command-string varies with the remote system; it
  1557.           must be quoted if it contains special characters or spaces.  The
  1558.           resulting information may be redirected to a file with the >outfile
  1559.           command.
  1560.  
  1561.           EXAMPLE: remote host "kill -9 0" Terminates all your processes with
  1562.           extreme prejudice.
  1563.  
  1564.  
  1565.           SEE ALSO: !!command
  1566.  
  1567.         remote print filespec Instructs the remote Kermit server to print the
  1568.           specified file(s) on the remote system.  The form of filespec varies
  1569.           with the remote system; it must be quoted if it contains special
  1570.           characters or spaces.
  1571.  
  1572.         remote space [dirspec] Instructs the remote Kermit server to display
  1573.           the free space in the specified directory on your screen.  The form
  1574.           of dirspec varies with the remote system; it must be quoted if it
  1575.           contains special characters or spaces.  The resulting information
  1576.           may be redirected to a file with the >outfile command.
  1577.  
  1578.         remote type filespec Instructs the remote Kermit server to type the
  1579.           specified file(s) on your screen.  The form of filespec varies with
  1580.           the remote system; it must be quoted if it contains special
  1581.           characters or spaces.  The resulting information may be redirected
  1582.           to a file with the >outfile command.
  1583.  
  1584.         remote who Instructs the remote Kermit server to display the logged in
  1585.           users on your screen.  The resulting information may be redirected
  1586.           to a file with the >outfile command.
  1587.  
  1588.         reset Write the contents of the circular buffer if a receive file is
  1589.           open, close all files, and reset the disk system.  This allows
  1590.  
  1591.  
  1592.         (C) 1989 Omen Tech Inc                        Chapter 17 Main Commands
  1593.  
  1594.  
  1595.         Version 17.50 TurboDial 2.33            Universal Line Printer Edition
  1596.         ZCOMM User Manual                                                  118
  1597.  
  1598.           swapping diskettes.
  1599.  
  1600.         reskeys Resets the Soft Keys to empty.
  1601.  
  1602.           SEE ALSO: set command
  1603.  
  1604.         restime * Resets elapsed time and counts of bytes transmitted and
  1605.           received to zero.  The restime command may be given in a script
  1606.           immediately after login is completed to synchronize the elapsed time
  1607.           counter with the beginning of chargeable connect time.
  1608.  
  1609.           SEE ALSO: timestamp command, E test condition
  1610.  
  1611.         restrict * Restricts ZCOMM for the following command on the same line.
  1612.           This command is useful for testing.
  1613.  
  1614.           EXAMPLE: restrict source /menu.t
  1615.  
  1616.  
  1617.         RETurn Returns from a script subroutine accessed by a call, source, or
  1618.           gosub command.
  1619.  
  1620.           SEE ALSO: fail command
  1621.  
  1622.         rewind Reset the buffer pointers for display, printer, and file output
  1623.           used by the term function to the beginning of the circular buffer.
  1624.           This will cause the term function to redisplay the data in the
  1625.           circular buffer.  Patterns will be rescanned.  A typical use of the
  1626.           rewind function is to allow replay of an editing session on a remote
  1627.           machine, or to redisplay the material received if the initial
  1628.           settings of the i, c, n or v modes were incorrect for the material
  1629.           received from the remote.
  1630.           N.B.: The rewind command does not reset the buffer free character
  1631.           count.  To write the data to disk, a write command (or ALT-W) must
  1632.           be given before accepting new data from the remote.
  1633.  
  1634.           SEE ALSO: t, b, w review subcommands
  1635.  
  1636.         REView Review the data received from the host or read by the read
  1637.           command.  A screenfull is displayed at a time.  Review function
  1638.           commands are listed in Chapter 20.
  1639.  
  1640.         ro [-options] file Receives with options a single file using non-
  1641.           standard XMODEM-CRC protocol logic.  OverThruster(TM) speeds file
  1642.           downloads at the expense of error recovery.  OverThruster operation
  1643.           is controlled by the O numeric parameter.  As fans of Buckaroo
  1644.           Bonzai know, the OverThruster is not universally applicable.  A
  1645.           transmission error will almost always terminate an OverThruster file
  1646.           download.
  1647.  
  1648.           If Restricted, a file received in error will be unlinked (erased).
  1649.  
  1650.  
  1651.         (C) 1989 Omen Tech Inc                        Chapter 17 Main Commands
  1652.  
  1653.  
  1654.         Version 17.50 TurboDial 2.33            Universal Line Printer Edition
  1655.         ZCOMM User Manual                                                  119
  1656.  
  1657.           EXAMPLE: ro foo.com
  1658.  
  1659.  
  1660.           SEE ALSO: O numeric parameter
  1661.  
  1662.         rt [-options] [dir] [file ...] Receives with options 1 or more files
  1663.           using Telink (FIDO) batch protocol.  An optional disk and/or
  1664.           directory dir may be specified.  The optional supplied pathnames
  1665.           file ...  are used in place of pathnames normally provided by the
  1666.           sending program.  If pathname(s) have been supplied to the rt
  1667.           command and the sending program attempts to send more files than the
  1668.           number of names supplied to the rt command, the transfer is aborted.
  1669.           The rt command is provided for compatibility with traditional
  1670.           programs that do not support the superior YMODEM or ZMODEM
  1671.           protocols.
  1672.  
  1673.           EXAMPLE: rt -c
  1674.  
  1675.  
  1676.           SEE ALSO: Telink protocol, Chapter 11.
  1677.  
  1678.         rw [-options] file Receives with options a single file using the
  1679.           People-Link WXMODEM protocol.  Chapter 17 describes the available
  1680.           options.  If Restricted, a file received in error will be unlinked
  1681.           (erased).
  1682.  
  1683.           EXAMPLE: rw foo.com
  1684.  
  1685.  
  1686.  
  1687.         rx [-options] file Receives with options a single file using the Ward
  1688.           Christensen XMODEM protocol.  CRC-16 is not the default because most
  1689.           commercial comms programs only support the 8 bit checksum.  Chapter
  1690.           17 describes the available options.  If Restricted, a file received
  1691.           in error will be unlinked (erased).
  1692.  
  1693.           EXAMPLE: rx foo.com
  1694.  
  1695.           N.B.: The rc command should be used whenever possible instead of rx.
  1696.  
  1697.           EXAMPLE: rx -g foo.txt Receive a single file with an ACKless XMODEM
  1698.           protocol mutant incorrectly called "ymodem-g" by PCBoard and Qmodem
  1699.           programs.
  1700.  
  1701.           SEE ALSO: XMODEM protocol, Chapter 11.
  1702.  
  1703.         rz [-options] Receives with options 1 or more files using ZMODEM batch
  1704.           protocol.  Chapter 17 describes the available options.  Each file's
  1705.           pathname is obtained from the sending program.  The +, a, b, n, N,
  1706.           r, and y options are accepted from the sending program, subject to
  1707.           Restriced privileges.  If the +, b, n, N, r, or y option is
  1708.  
  1709.  
  1710.         (C) 1989 Omen Tech Inc                        Chapter 17 Main Commands
  1711.  
  1712.  
  1713.         Version 17.50 TurboDial 2.33            Universal Line Printer Edition
  1714.         ZCOMM User Manual                                                  120
  1715.  
  1716.           specified to the receiver, it overrides any contrary options
  1717.           specified to the sender.  Only one of the a, b, or r options may be
  1718.           specified.  Only one of the +, n, N, or y options may be specified.
  1719.           If a file is received in error (retries exhausted, etc.), the batch
  1720.           transfer will terminate.  If Restricted, a file received in error
  1721.           will be unlinked (erased).
  1722.  
  1723.           EXAMPLE: rz -y
  1724.  
  1725.  
  1726.           SEE ALSO: Z mode
  1727.  
  1728.           SEE ALSO: ZMODEM protocol, Chapter 11.
  1729.  
  1730.         rz [-options] [dir] [file ...] Receives with options 1 or more files
  1731.           using ZMODEM batch protocol.  An optional disk and/or directory dir
  1732.           may be specified.  The optional supplied pathnames file ...  are
  1733.           used in place of pathnames normally provided by the sending program.
  1734.           If the sending program attempts to send more files than the number
  1735.           of names supplied to the rz command, the transfer is aborted.  To
  1736.           allow use of the rz command, Z mode (ZMODEM autodownload) should be
  1737.           turned off with a dis -Z command.
  1738.  
  1739.         s Displays status information.
  1740.  
  1741.           LSR and MSR refer to the Line Status Register and Modem Status
  1742.           Register of the modem port's 8250 UART device.
  1743.  
  1744.           TYP refers to the type of serial chip detected.  A National 16550A
  1745.           shows as 1, an Intel 82510 shows as 2.  Other chips (without high
  1746.           speed enhancements) show as 0.
  1747.  
  1748.           "Uncorrected errors" displays the e numeric parameter, which counts
  1749.           the number of failed file transfers and "line hits" detected by the
  1750.           term function.
  1751.  
  1752.           If one or more scripts are active, the current line number (counting
  1753.           from the first line in the script file) for each script level is
  1754.           displayed.
  1755.  
  1756.           Any patterns active as a result of a pattern or wait command are
  1757.           displayed.  An S indicates not matched (still searching), F
  1758.           indicates that pattern has been matched.
  1759.  
  1760.  
  1761.           SEE ALSO: ALT-S function key
  1762.  
  1763.         s7 [-options] pathspec Send the files specified in pathspec using the
  1764.           MODEM7 batch Protocol.  Files which cannot be opened are skipped.
  1765.           An empty pathspec sends all files in the current directory.  A
  1766.           directory name expands to all regular files in that directory.
  1767.  
  1768.  
  1769.         (C) 1989 Omen Tech Inc                        Chapter 17 Main Commands
  1770.  
  1771.